package Goal;

import java.util.HashSet;
/**
 * TODO description
 */
public class GoalBase {
	
	private HashSet<String> table;
	
	public GoalBase()
	{
		table = new HashSet();
	}
	
	public int getSize()
	{
		return table.size();
	}
	
	public void addGoal(String goal)
	{
		table.add(goal);
	}
	
	public boolean goalExists(String goal)
	{
		return table.contains(goal);
	}
	
	public void removeGoal(String goal)
	{
		if(table.contains(goal))
			table.remove(goal);
	}
	
	public HashSet<String> getAllGoals()
	{
		return table;
	}
	
	public void clear()
	{
		table.clear();
	}

}